/*
 * Copyright (c) Jack魏 2024 - 2024, All Rights Reserved.
 */

package cn.jackwei.yiyi.mapper;

import cn.jackwei.yiyi.pojo.bean.SysPage;
import cn.jackwei.yiyi.pojo.model.SysPageModel;
import cn.jackwei.yiyi.pojo.query.SysPageQuery;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;

/**
 * 页面表Mapper类
 *
 * @author Jack魏
 * @since 2024-07-21
 */
@Mapper
public interface SysPageMapper extends BaseMapper<SysPage> {
    /**
     * 根据条件分页查询页面表
     *
     * @param query 条件
     * @return 查询列表
     */
    Page<SysPageModel> pageSysPage(SysPageQuery query);
}